home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 80 / CD Actual 80 Julio-Agosto 2003.iso / Linux / LinuxGazette / lg / issue18 / misc / gvim.gif < prev    next >
Graphics Interchange Format  |  2002-08-19  |  19.3 KB  |  751x763  |  4-bit (16 colors)
   ocr: X VIM - HHomework/311/Labb/Hashlanle.CC OX File Edit Help Hashlable:: "Hashlable() // 11 DESTRUCTUR // this deallocates the memory for the hash table // € for(int i=0; iKTABLE_SIZE; i++) if(tableli] l= NULL) delete tableli]; 311 END DESTRUCTUR void ashlable::Createlable(char *tllename) /1 IN /1 // this is passed the name of a file (filename) which is opened and its // contents read and inserted into the hash table. It presumes that the // contents of the file are written one-word-per-line fashion. /1 € char bufLMAX_WORD_SIZEJ; // input butter ifstream ins; // input file stream int key; // hash ...